REST Data Formats
The table below describes the REST fields for forwarding alarm and journal entries to Northbound destinations.
Alarm Forwarding REST Fields
|
Entity Name |
Type |
Description |
Alarm Forwarding |
Journal Forwarding |
||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
name |
String (1-100 chars) |
The alarm title. |
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
alarmType |
String |
Alarm type according to ITU X.733 definition. This value is displayed from the variable-binding. |
Ö |
û |
||||||||||||||||||||||||||||||||||||
|
isEvent |
Boolean |
Indicates whether the trap is an alarm or an event. |
Ö |
û |
||||||||||||||||||||||||||||||||||||
|
alarmTextualDescription |
String (1-255 chars) |
The alarm text description shown in the raised alarm. |
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
alarmSource |
String (1-255 chars) |
Possible values of sources if applicable to a specific alarm. This value is displayed from the variable-binding tgTrapGlobalsSource. |
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
alarmUniqId |
|
NOTIFICATION-TYPE OID as it appears in the MIB. Corrective Action Possible corrective action when applicable. - 1 |
Ö |
û |
||||||||||||||||||||||||||||||||||||
|
id |
Max Integer |
The unique database ID index for the alarm in the Live Platform portal database. |
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
alarmCategory |
ItuAlarmType |
Alarm type according to ITU X.733 definition. This value is displayed from the variable-binding tgTrapGlobalsType. |
Ö |
û |
||||||||||||||||||||||||||||||||||||
|
alarmProbCause |
ItuAlarmProbableCause |
Alarm probable cause according to ITU X.733 definition. This value is displayed from the variable-binding tgTrapGlobalsProbableCause. |
Ö |
û |
||||||||||||||||||||||||||||||||||||
|
alarmAddInfo1 |
String (0-255 chars) |
Additional information fields according to the specific scenario. |
Ö |
û |
||||||||||||||||||||||||||||||||||||
|
alarmAddInfo2 |
String (0-255 chars) |
Additional information fields according to the specific scenario. |
Ö |
û |
||||||||||||||||||||||||||||||||||||
|
alarmAddInfo3 |
String (0-255 chars) |
Additional information fields according to the specific scenario. |
Ö |
û |
||||||||||||||||||||||||||||||||||||
|
alarmSourceDescription |
String (0-255 chars) |
Possible values of sources if applicable to a specific alarm. This value is displayed from the variable-binding tgTrapGlobalsSource. |
Ö |
û |
||||||||||||||||||||||||||||||||||||
|
alarmSeverity |
One of the following values:
Each value represents the entire system severity when a specific alarm/event is issued. Note: This varbind is not sent for system alarms (alarms that were generated by Live Platform such as Live Platform Disk Space alarm). |
This value is displayed from the variable-binding tgTrapGlobalsSeverity. In addition, the Textual description value is displayed from the variablebinding tgTrapGlobalsTextualDescription. |
Ö |
û |
||||||||||||||||||||||||||||||||||||
|
alarmDateAndTime |
Date |
Date and time when the alarm was raised. |
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
unitType |
Entity Type |
The entity type on which the alarm was raised:
|
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
alarmRemoteHost |
IPv4/IPv6 // OPTIONAL |
Remote host destination. |
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
regionName |
String (1-100 chars) //OPTIONAL |
Name of the region upon which the alarm was raised. |
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
unitName |
String (1-100 chars) //OPTIONAL |
The name of the entity on which the alarm was raised. For example, device or link name. |
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
tenantName |
String (1-100 chars) //OPTIONAL |
Name of the managed tenant upon which the alarm was raised. |
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
deviceInfo |
{ // OPTIONAL - not sent in case it’s not a device alarm “productType” : MGType “serialNum” : String (0-510) //in case of HA device - SN1_SN2 "description" : String (0-255) "severity" : ItuPerceivedSeverity } |
Alarm raised on the managed device e.g. gateway/SBC |
Ö |
Ö |
||||||||||||||||||||||||||||||||||||
|
operator |
String (1-100 chars) |
The name of the operator performing the journal action. |
û |
Ö |
||||||||||||||||||||||||||||||||||||
|
operatorIpAddress |
String (1-100 chars) |
The IP address of the operator performing the journal action. |
û |
Ö |
The REST formats for forwarding alarm data are shown below.
“alarms” :
[
{
“name” : String (1-100 chars),
“alarmType” : String,
“isEvent” : Boolean,
“alarmTextualDescription” : String (1-255 chars),
“alarmSource” : String (1-255 chars),
“alarmSeverity” : ItuPerceivedSeverity,
“alarmUniqId” : String (1-100 chars),
“alarmCategory” : ItuAlarmType,
“alarmProbCause” : ItuAlarmProbableCause,
“alarmAddInfo1” : String (0-255 chars),
“alarmAddInfo2” : String (0-255 chars),
“alarmAddInfo3” : String (0-255 chars),
“alarmSourceDescription” : String (0-255 chars),
“alarmDateAndTime” : Date,
“unitType” : EntityType
"alarmRemoteHost" : IPv4/IPv6 // OPTIONAL
"regionName " : String (1-100 chars) //OPTIONAL
“unitName” : String (1-100 chars) //OPTIONAL
"tenantName " : String (1-100 chars) //OPTIONAL
“deviceInfo”:{ // OPTIONAL - not sent in case it’s not a device alarm
“productType” : MGType
“serialNum” : String (0-510) //in case of HA device - SN1_SN2
"description" : String (0-255)
"severity" : ItuPerceivedSeverity
}
}]